/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.easoftware.code.beans.cargas.impl;

import net.easoftware.code.beans.cargas.ChequeRechazadoCA;
import net.easoftware.code.beans.cargas.DataFilter;
import net.easoftware.code.beans.cargas.threading.CargasFilteringThread;
import net.easoftware.code.beans.cargas.threading.Result;
import net.easoftware.code.error.EaError;

/**
 *
 * @author eliu
 */
public class ChequeRechazadoFilter implements DataFilter {

    @Override
    public Result proccesBean(Object bean, CargasFilteringThread parent) throws EaError {
        ChequeRechazadoCA aso = (ChequeRechazadoCA) bean;
        Result r = new Result(false, false);
        r.setCurrentBean(aso);
        /*  if (aso.getCcco() == null || aso.getRpac02() == null) {
         r.setContieneLn(aso.getRpac02() != null);
         r.setContieneUn(aso.getRpac02() != null);
         r.setCurrentBean(null);

         return r;
         }
         r.setCurrentBean(bean);
         */
        return r;
    }
}
